public class Leet {

	
	public static String toLeet(String normal){
		
		String[] normal1 = new String[]{"elite", "cool", "!", "ck", "ers", "er", "en", "e", "t", "o", "a"};
		String[] leet = new String[]{"1337", "k3wl", "!!!11", "xx", "0rz", "0rz", "n", "3", "7", "0", "@"};
		
		for(int i=0; i<leet.length;i++){
			//if(normal.equals(normal1[i]))return leet[i];
			normal = normal.replaceAll(normal1[i], leet[i]);
		}
		return normal;
	}
	
public static String[] allToLeet(String[] normals){
		

		String[] normal = new String[]{"elite", "cool", "!", "ck", "ers", "er", "en", "e", "t", "o", "a"};
		String[] leet = new String[]{"1337", "k3wl", "!!!11", "xx", "0rz", "0rz", "n", "3", "7", "0", "@"};
		
		for(int i=0; i<normals.length;i++){
			for(int j=0;j<leet.length;j++){
			normals[i] = normals[i].replaceAll(normal[j], leet[j]);
			}
		}
		return normals;
	}
	
	public static void main(String[] args){
		String[] normalarray = new String[]{"We are elite hackers!", "Informartiker machen coole Sachen!"};
   
		String leet = toLeet("elite hackers sind wir.");
		
        String[] leetArray = new String[2];
        leetArray = allToLeet(normalarray);
		for(int i=0;i<normalarray.length;i++){
			System.out.println((leetArray)[i]);
		}
		System.out.println(leet);
	}
}
